# 1到100

def sumUp():
	x = int(input("你想要累加的尾部："))
	i = 1
	sumup = 0
	while i <= x:
		sumup += i
		i += 1

	print("sum:{}".format(sumup))


if __name__ == "__main__":
	sumUp()
